<?php

/**
 * @author christian
 * @copyright 2011
 * @abstract carga de todo el itinerario que es parte de un tour del itenario del tour
 */
 


$ruta=$_SERVER['DOCUMENT_ROOT']."/viventura"."/MDCostos";
include_once("$ruta/conf/CConfig.php");
include_once("$ruta/elements/head.tpl");
include_once("$ruta/view/CTourTableDraw.php");
include_once("$ruta/star.php");
include_once("$ruta/view/CDrawMenuTour.php");


CDrawMenuTour::getInstance()->rigth_side_begin();//empieza lado derecho 
CDrawMenuTour::getInstance()->DrawDivAdBegin("content_area_user_title","1");echo "<h1>Destino Sur</h1>";
CDrawMenuTour::getInstance()->DrawDivAdEnd();



$title="Tour";
$maintable="tour"; 
$growtable="pack_has_tour";


if (!isset($_POST['updated'])) {$_POST['updated'] = "NULL"; }
$updated = $_POST['updated'];
if($updated!="NULL"){echo "El paquete $updated fue actualizado";}
else{echo "";}

$columnas=array("idPackTour"=>"PackTour","PACK_idPack"=>"Paquete","OriTour"=>"Origen","DestTour"=>"Destino","DateBegTour"=>"Inicio","DateEndTour"=>"Final");
//CTourTableDraw::getInstance()->DrawTable($title,$maintable,$columnas);
CTourTableDraw::getInstance()->DrawTable($title,$maintable,$growtable,$columnas);

?>